* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #74ebd5, #acb6e5);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInPage 1.5s ease;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section {
    padding: 30px;
}

.contact-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.contact-card h2 {
    color: #333;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px 14px 14px 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    font-size: 15px;
    transition: 0.3s;
    background-color: transparent;
}

.input-group label {
    position: absolute;
    left: 14px;
    top: 14px;
    color: #aaa;
    pointer-events: none;
    transition: 0.2s ease all;
    background-color: white;
    padding: 0 5px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 13px;
    color: #74ebd5;
}

.input-group input.valid,
.input-group textarea.valid {
    border-color: #4caf50;
}

.input-group input.invalid,
.input-group textarea.invalid {
    border-color: #f44336;
}

.submit-btn {
    background: #74ebd5;
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #5bc8c8;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #333;
    color: white;
    padding: 14px 20px;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 999;
}

.toast.show {
    opacity: 1;
    visibility: visible;
}
.toast {
      visibility: hidden;
      min-width: 250px;
      margin: auto;
      background-color: #333;
      color: white;
      text-align: center;
      border-radius: 4px;
      padding: 12px;
      position: fixed;
      z-index: 1;
      bottom: 30px;
      left: 0;
      right: 0;
      font-size: 16px;
    }

    .toast.show {
      visibility: visible;
      animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

    @keyframes fadein {
      from { bottom: 0; opacity: 0; }
      to { bottom: 30px; opacity: 1; }
    }

    @keyframes fadeout {
      from { bottom: 30px; opacity: 1; }
      to { bottom: 0; opacity: 0; }
    }